import platform
platform_str = platform.platform().lower()
if "windows" in platform_str:
    sys_platform = "windows"
elif "macos" in platform_str:
    sys_platform = "macos"
